package com.hsq.ndmall.wx.feign.goods;

import com.hsq.ndmall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName Promotion.java
 * @Description TODO
 * @createTime 2021年08月16日 23:08:00
 */
@FeignClient(value = "promotion-service")
public interface PromotionFeign {
    @GetMapping("/promotion/grouponrules/list")
    R groupRulesRelateGoods(@RequestParam("goods_id") Integer goods_id);
}
